package com.jiaoyou.baojian.entity.pay;

import java.util.List;

/**
 * Created by DemonZYM on 17/5/29.
 */

public class Trade {

    /**
     * adjustPrice : 0
     * customIp : 127.0.0.1
     * discountPrice : 0
     * dlytmplId : 1
     * from : WAP_APP_ANDROID
     * id : 7000000010000014
     * itemNum : 2
     * payPrice : 20
     * payedPrice : 0
     * postPrice : 0
     * price : 20
     * shopId : 1
     * shopType :
     * status : WAIT_BUYER_PAY
     * toCancelTime : 2017-05-04 21:46:35
     * totalPrice : 20
     * totalWeight : 0
     * tradeType : common
     * userId : 14
     */

    private int adjustPrice;
    private String customIp;
    private int discountPrice;
    private int dlytmplId;
    private String from;
    private long id;
    private int itemNum;
    private float payPrice;
    private int payedPrice;
    private int postPrice;
    private float price;
    private int shopId;
    private String shopType;
    private String status;
    private String toCancelTime;
    private float totalPrice;
    private int totalWeight;
    private String tradeType;
    private int userId;
    private Address addr;
    private List<Order> orderList;

    public Address getAddr() {
        return addr;
    }

    public void setAddr(Address addr) {
        this.addr = addr;
    }

    public List<Order> getOrderList() {
        return orderList;
    }

    public void setOrderList(List<Order> orderList) {
        this.orderList = orderList;
    }

    public int getAdjustPrice() {
        return adjustPrice;
    }

    public void setAdjustPrice(int adjustPrice) {
        this.adjustPrice = adjustPrice;
    }

    public String getCustomIp() {
        return customIp;
    }

    public void setCustomIp(String customIp) {
        this.customIp = customIp;
    }

    public int getDiscountPrice() {
        return discountPrice;
    }

    public void setDiscountPrice(int discountPrice) {
        this.discountPrice = discountPrice;
    }

    public int getDlytmplId() {
        return dlytmplId;
    }

    public void setDlytmplId(int dlytmplId) {
        this.dlytmplId = dlytmplId;
    }

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public int getItemNum() {
        return itemNum;
    }

    public void setItemNum(int itemNum) {
        this.itemNum = itemNum;
    }

    public float getPayPrice() {
        return payPrice;
    }

    public void setPayPrice(float payPrice) {
        this.payPrice = payPrice;
    }

    public int getPayedPrice() {
        return payedPrice;
    }

    public void setPayedPrice(int payedPrice) {
        this.payedPrice = payedPrice;
    }

    public int getPostPrice() {
        return postPrice;
    }

    public void setPostPrice(int postPrice) {
        this.postPrice = postPrice;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public int getShopId() {
        return shopId;
    }

    public void setShopId(int shopId) {
        this.shopId = shopId;
    }

    public String getShopType() {
        return shopType;
    }

    public void setShopType(String shopType) {
        this.shopType = shopType;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getToCancelTime() {
        return toCancelTime;
    }

    public void setToCancelTime(String toCancelTime) {
        this.toCancelTime = toCancelTime;
    }

    public float getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(float totalPrice) {
        this.totalPrice = totalPrice;
    }

    public int getTotalWeight() {
        return totalWeight;
    }

    public void setTotalWeight(int totalWeight) {
        this.totalWeight = totalWeight;
    }

    public String getTradeType() {
        return tradeType;
    }

    public void setTradeType(String tradeType) {
        this.tradeType = tradeType;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }
}
